libostree: skip introspection for two functions
authorGiuseppe Scrivano <gscrivan@redhat.com>
Fri, 29 Jul 2016 14:03:11 +0000 (16:03 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sat, 30 Jul 2016 11:24:52 +0000 (11:24 +0000)
These two functions are not safe for gobject introspection, so annotate
them to be skipped:

1) ostree_repo_import_archive_to_mtree
2) ostree_repo_export_tree_to_archive

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #417
Approved by: cgwalters

src/libostree/ostree-repo-libarchive.c
src/libostree/ostree-repo.h

index cfecd6d9dacae974921de84cdafe35a75a52553d..d05b34ea8cd203cab022b7b817620c86639e6f08 100644 (file)
@@ -804,7 +804,7 @@ deferred_hardlinks_list_free (void *data)
 #endif /* HAVE_LIBARCHIVE */
 
 /**
- * ostree_repo_import_archive_to_mtree:
+ * ostree_repo_import_archive_to_mtree: (skip)
  * @self: An #OstreeRepo
  * @opts: Options structure, ensure this is zeroed, then set specific variables
  * @archive: Really this is "struct archive*"
@@ -1171,7 +1171,7 @@ write_directory_to_libarchive_recurse (OstreeRepo               *self,
 #endif
 
 /**
- * ostree_repo_export_tree_to_archive:
+ * ostree_repo_export_tree_to_archive: (skip)
  * @self: An #OstreeRepo
  * @opts: Options controlling conversion
  * @root: An #OstreeRepoFile for the base directory
index 04f467d2d89e6e99752defd2aef70b0227fb962e..0b99c9dd6e7bcf23efbd89a8e9c5ec5d5b8da730 100644 (file)
@@ -606,7 +606,7 @@ gboolean      ostree_repo_write_archive_to_mtree (OstreeRepo                   *
                                                   GError                      **error);
 
 /**
- * OstreeRepoImportArchiveOptions:
+ * OstreeRepoImportArchiveOptions: (skip)
  *
  * An extensible options structure controlling archive import.  Ensure that
  * you have entirely zeroed the structure, then set just the desired
@@ -633,7 +633,7 @@ gboolean      ostree_repo_import_archive_to_mtree (OstreeRepo
                                                     GError                        **error);
 
 /**
- * OstreeRepoExportArchiveOptions:
+ * OstreeRepoExportArchiveOptions: (skip)
  *
  * An extensible options structure controlling archive creation.  Ensure that
  * you have entirely zeroed the structure, then set just the desired